package com.demo.domain;
import java.io.Serializable;


public class UserDTO implements Serializable{

		private static final long serialVersionUID = -4965244566119896780L;
		/* 用户名 */
		private String username;
		/* 真实姓名 */
		private String realname;

		private String password;

		private String flag;

		private String isadmin;

		private String telephone;

		private String sex;

		private String birth;

		private String education;

		private String createdate;

		private String creator;

		private String modifydate;

		private String modifier;

		public UserDTO() {
			super();
		}

		public UserDTO(String username, String realname, String password, String flag, String isadmin, String telephone,
				String sex, String birth, String education, String createdate, String creator, String modifydate,
				String modifier) {
			super();
			this.username = username;
			this.realname = realname;
			this.password = password;
			this.flag = flag;
			this.isadmin = isadmin;
			this.telephone = telephone;
			this.sex = sex;
			this.birth = birth;
			this.education = education;
			this.createdate = createdate;
			this.creator = creator;
			this.modifydate = modifydate;
			this.modifier = modifier;
		}

		public String getUsername() {
			return username;
		}

		public void setUsername(String username) {
			this.username = username == null ? null : username.trim();
		}

		public String getRealname() {
			return realname;
		}

		public void setRealname(String realname) {
			this.realname = realname == null ? null : realname.trim();
		}

		public String getPassword() {
			return password;
		}

		public void setPassword(String password) {
			this.password = password == null ? null : password.trim();
		}

		public String getFlag() {
			return flag;
		}

		public void setFlag(String flag) {
			this.flag = flag == null ? null : flag.trim();
		}

		public String getIsadmin() {
			return isadmin;
		}

		public void setIsadmin(String isadmin) {
			this.isadmin = isadmin == null ? null : isadmin.trim();
		}

		public String getTelephone() {
			return telephone;
		}

		public void setTelephone(String telephone) {
			this.telephone = telephone == null ? null : telephone.trim();
		}

		public String getSex() {
			return sex;
		}

		public void setSex(String sex) {
			this.sex = sex == null ? null : sex.trim();
		}

		public String getBirth() {
			return birth;
		}

		public void setBirth(String birth) {
			this.birth = birth == null ? null : birth.trim();
		}

		public String getEducation() {
			return education;
		}

		public void setEducation(String education) {
			this.education = education == null ? null : education.trim();
		}

		public String getCreatedate() {
			return createdate;
		}

		public void setCreatedate(String createdate) {
			this.createdate = createdate == null ? null : createdate.trim();
		}

		public String getCreator() {
			return creator;
		}

		public void setCreator(String creator) {
			this.creator = creator == null ? null : creator.trim();
		}

		public String getModifydate() {
			return modifydate;
		}

		public void setModifydate(String modifydate) {
			this.modifydate = modifydate == null ? null : modifydate.trim();
		}

		public String getModifier() {
			return modifier;
		}

		public void setModifier(String modifier) {
			this.modifier = modifier == null ? null : modifier.trim();
		}

		@Override
		public String toString() {
			return "UserDTO [username=" + username + ", realname=" + realname + ", password=" + password + ", flag=" + flag
					+ ", isadmin=" + isadmin + ", telephone=" + telephone + ", sex=" + sex + ", birth=" + birth
					+ ", education=" + education + ", createdate=" + createdate + ", creator=" + creator + ", modifydate="
					+ modifydate + ", modifier=" + modifier + "]";
		}

}
